We disable it when in the overview or when recording a video and otherwise
leave it enabled.
https://bugzilla.gnome.org/show_bug.cgi?id=618497
if (recorder.is_recording()) {
recorder.pause();
+ Meta.enable_unredirect_for_screen(global.screen);
} else {
// read the parameters from GSettings always in case they have changed
recorder.set_framerate(recorderSettings.get_int('framerate'));
else
recorder.set_pipeline(null);
+ Meta.disable_unredirect_for_screen(global.screen);
recorder.record();
}
});
//
// If we switched to displaying the actors in the Overview rather than
// clones of them, this would obviously no longer be necessary.
+ //
+ // Disable unredirection while in the overview
+ Meta.disable_unredirect_for_screen(global.screen);
global.window_group.hide();
this._group.show();
this._background.show();
},
_hideDone: function() {
+ // Re-enable unredirection
+ Meta.enable_unredirect_for_screen(global.screen);
+
global.window_group.show();
this.workspaces.destroy();